package com.example.service.webhook.business.security.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Modified by liyang on 20171019 接口升级
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class InsuranceRecord {
    // 参保类型
    @JsonProperty("insurance_type")
    private String insuranceType;
    // 缴存时间
    @JsonProperty("deal_time")
    private String dealTime;
    // 缴纳月份
    @JsonProperty("month")
    private String month;
    // 缴至月份(截止)
    @JsonProperty("month_end")
    private String monthEnd;
    // 缴存单位
    @JsonProperty("corporation_name")
    private String corporationName;
    // 描述
    @JsonProperty("description")
    private String description;
    // 基数
    @JsonProperty("base_number")
    private Integer baseNumber;
    // 单位缴存
    @JsonProperty("corporation_payment")
    private Integer corporationPayment;
    // 个人缴存
    @JsonProperty("personal_payment")
    private Integer personalPayment;
    // 缴存总额
    @JsonProperty("amount")
    private Integer amount;
    // 缴存标记
    @JsonProperty("status")
    private String status;
    // 单位缴存比例
    @JsonProperty("corporation_scale")
    private String corporationScale;
    // 个人缴存比例
    @JsonProperty("customer_scale")
    private String customerScale;

	/**
	 * 养老保险	1
	 * 医疗保险	2
	 * 工伤保险	3
	 * 生育保险	4
	 * 失业保险	5
	 * 大病保险	6
	 * 其他保险	0
	 * 20171019接口升级，新增字段，险种编号
	 */
	@JsonProperty("insurance_code")
	private Integer insuranceCode;


	public String getInsuranceType() {
		return insuranceType;
	}
	public void setInsuranceType(String insuranceType) {
		this.insuranceType = insuranceType;
	}
	public String getDealTime() {
		return dealTime;
	}
	public void setDealTime(String dealTime) {
		this.dealTime = dealTime;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public String getMonthEnd() {
		return monthEnd;
	}
	public void setMonthEnd(String monthEnd) {
		this.monthEnd = monthEnd;
	}
	public String getCorporationName() {
		return corporationName;
	}
	public void setCorporationName(String corporationName) {
		this.corporationName = corporationName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Integer getBaseNumber() {
		return baseNumber;
	}
	public void setBaseNumber(Integer baseNumber) {
		this.baseNumber = baseNumber;
	}
	public Integer getCorporationPayment() {
		return corporationPayment;
	}
	public void setCorporationPayment(Integer corporationPayment) {
		this.corporationPayment = corporationPayment;
	}
	public Integer getPersonalPayment() {
		return personalPayment;
	}
	public void setPersonalPayment(Integer personalPayment) {
		this.personalPayment = personalPayment;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getCorporationScale() {
		return corporationScale;
	}
	public void setCorporationScale(String corporationScale) {
		this.corporationScale = corporationScale;
	}
	public String getCustomerScale() {
		return customerScale;
	}
	public void setCustomerScale(String customerScale) {
		this.customerScale = customerScale;
	}


	public Integer getInsuranceCode() {
		return insuranceCode;
	}

	public void setInsuranceCode(Integer insuranceCode) {
		this.insuranceCode = insuranceCode;
	}
}
